﻿using Batman.Maintenance.Enums;

namespace Batman.Maintenance.DTO.Column
{
    public class ImageColumn : MaintenaceColumn
    {
        /// <summary>
        /// 图片取值路径
        /// </summary>
        public string Path { get; set; }

        public ImageColumn() { }

        public ImageColumn(string label, string prop) : base(label, prop, MaintenanceColumnType.Image)
        {
        }

        public ImageColumn(string label, string prop, string path) : this(label, prop)
        {
            Path = path;
        }
    }
}
